package com.feituan.core.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.feituan.core.pojo.entity.TypeCoupons;
import com.feituan.core.pojo.request.TypeCouponsPageReq;
import com.feituan.core.pojo.response.page.PageData;

public interface ITypeCouponsService extends IService<TypeCoupons> {

    /**
     * 根据优惠卷类型查询优惠卷数组
     * @param type type
     */
    TypeCoupons selectByType(String type);


    /**
     * 分页查询
     * @param typeCouponsPageReq typeCouponsPageReq
     */
    PageData<TypeCoupons> queryPage(TypeCouponsPageReq typeCouponsPageReq);
}
